<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 <c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
 
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
		<title>系统登陆</title>
		
		<!-- Error CSS -->
		<link href="${ctx}/assets/lib/css/login.css" rel="stylesheet" media="screen">

		<!-- Animate CSS -->
		<link href="${ctx}/assets/lib/css/animate.css" rel="stylesheet" media="screen">

		<!-- Font Awesome -->
		<link href="${ctx}/assets/lib/fonts/font-awesome.min.css" rel="stylesheet">
	</head>
	<body>
		<form action="${ctx}/signIn" id="wrapper" method="Post">
			<div id="box" class="animated bounceIn">
				<div id="top_header">
					<a href="#">
						<img class="logo" src="${ctx}/assets/lib/img/logo.png" alt="logo">
					</a>
					<h5>
						系统登陆
					</h5>
				</div>
				<di id="inputs">
					<div class="form-control">
						<input name="account" type="text" placeholder="请输入账号">
						<i class="fa fa-envelope-o"></i>
					</div>
					<div class="form-control">
						<input name="password" type="password" placeholder="请输入密码">
						<i class="fa fa-key"></i>
					</div>
					<input type="submit" value="登录">
				</di>
				
				<c:if test="${not empty signInError }">
				<div id="bottom">
					
					<span style="color:red">${signInError }</span>
				</div>
				</c:if>
				
			</div>
		</form>
	</body>
</html>